vpnRenewCheck
Description
check before renewal.
Request Method
GET
Request Path
/customer/vpn/renew/check
Request Parameters Common Parameters
| Name | Location | Type | Required | Sample value | Description |
|---|---|---|---|---|---|
| instanceId | Query | String | No | No sample value for this parameter. | instance id |
| regionId | Query | String | No | No sample value for this parameter. | region id |
| period | Query | String | No | No sample value for this parameter. | period |
| pricingCycle | Query | String | No | No sample value for this parameter. | pricing cycle |
| couponInstanceId | Query | String | No | No sample value for this parameter. | coupon of the order |
| voucherInstanceId | Query | String | No | No sample value for this parameter. | voucher of the order |
Return data
| Name | Type | Sample value | Description |
|---|---|---|---|
| sslConnection | integer | No sample value for this parameter. | when SSL-VPN is enable,it will show and need to choose |
| instanceId | string | No sample value for this parameter. | vpn instance id |
| regionId | string | No sample value for this parameter. | region id |
| gatewayName | string | No sample value for this parameter. | vpn name |
| vSwitchId | string | No sample value for this parameter. | vSwitch id |
| bandwidth | integer | No sample value for this parameter. | bandwidth 5-100 (Mbps) |
| billingMethod | string | No sample value for this parameter. | billing method |
| vpcId | string | No sample value for this parameter. | vpc id |
| sslVpn | boolean | No sample value for this parameter. | enable SSL-VPN |
| ipSecVpn | boolean | No sample value for this parameter. | enable IPsec-VPN |
| expirationDate | integer | No sample value for this parameter. | expire time |
Example
Successful Response example
{
"result":
{
"sslConnection":5.0,
"instanceId":"VPN-NRP339782378999668736",
"gatewayName":"TheCurrentVpnName",
"regionId":"cn-wulan-sta1-d01",
"vSwitchId":"vsw-nj3mrjkr96iwldig0vulr/zcw",
"vpcId":"vpc-nj3ptd8vtuyyoh08idhne/zcw",
"billingMethod":"Subscription",
"organization":"organization",
"sslVpn":true,
"capacity":1024.0,
"ipSecVpn":true,
"expirationDate":1.6615296E+12
},
"resultCode":"0",
"resultMsg":"success"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}